<script>
	global.islogin=function(){
		try{
			var token=uni.getStorageSync('token');
		}catch(e){
			//TODO handle the exception
		}
		if(token=='' || token==null || token=='undefine'){
			return false;
		}else{
			return token;
		}
	}
	
	export default {
		onLaunch: function () {
			console.log('App Launch')
		},
		onShow: function () {
			console.log('App Show')
		},
		onHide: function () {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "/static/iconfont/font.scss";
</style>
